package EncapsulatingObjects;

import java.sql.Date;

/**
 * settooltip
 */
public class Trip {
    int id;//旅行编号
    double money;//旅游金额
    String name;//旅行名字
    String sPosition;//旅游出发地
    String ePosition;//旅游到达地
    Date sDate;//旅游开始日期
    Date eDate;//旅游结束日期
    String doWhat;//旅游详细介绍
    String hotelNamex;//旅游住宿酒店
    public Trip(){}

    public Trip(double money, String name, String sPosition, String ePosition, Date sDate, Date eDate,String doWhat, String hotelNamex) {
        this.money = money;
        this.name = name;
        this.sPosition = sPosition;
        this.ePosition = ePosition;
        this.sDate = sDate;
        this.eDate = eDate;
        this.doWhat = doWhat;
        this.hotelNamex = hotelNamex;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getsPosition() {
        return sPosition;
    }

    public void setsPosition(String sPosition) {
        this.sPosition = sPosition;
    }

    public String getePosition() {
        return ePosition;
    }

    public void setePosition(String ePosition) {
        this.ePosition = ePosition;
    }

    public Date getsDate() {
        return sDate;
    }

    public void setsDate(Date sDate) {
        this.sDate = sDate;
    }

    public Date geteDate() {
        return eDate;
    }

    public void seteDate(Date eDate) {
        this.eDate = eDate;
    }

    public String getDoWhat() {
        return doWhat;
    }

    public void setDoWhat(String doWhat) {
        this.doWhat = doWhat;
    }

    public String getHotelNamex() {
        return hotelNamex;
    }

    public void setHotelNamex(String hotelNamex) {
        this.hotelNamex = hotelNamex;
    }
}
